package com.javaee.spring.chineseIdol;

public class Juggler implements Performer {
	private int balls = 3;
	
	
	
	public int getBalls() {
		return balls;
	}



	public void setBalls(int balls) {
		this.balls = balls;
	}
	


	public Juggler() {
		super();
	}



	public Juggler(int balls) {
		super();
		this.balls = balls;
	}



	@Override
	public void performer() throws PerformanceException {
		System.out.println("JUGGLING "+balls+" BALLS");
//		throw new PerformanceException("球掉了");
	}

}
